#include "TableEntry.h"

attr::attr() : attrib(VA_SIMPLE), param(false) {}
attr::~attr() {}

TableEntry::TableEntry(TableEntry::EntryType et) : entryType(et)
{
	address = 0;
}

TableEntry::~TableEntry()
{
}

TableEntry::EntryType TableEntry::getEntryType() const {
	return entryType;
}

void TableEntry::setName(std::string strName) {
	name = strName;
}

std::string TableEntry::getName() const {
	return name;
}

int TableEntry::getAddress() const {
	return address;
}

int TableEntry::setAddress(int addr) {
	address = addr;
	return addr;
}